summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/home_menu_functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/am/home_menu_functions.h')
-rw-r--r--src/core/hle/service/am/home_menu_functions.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/core/hle/service/am/home_menu_functions.h b/src/core/hle/service/am/home_menu_functions.h
new file mode 100644
index 000000000..e082d5d73
--- /dev/null
+++ b/src/core/hle/service/am/home_menu_functions.h
@@ -0,0 +1,25 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/service/kernel_helpers.h"
+#include "core/hle/service/service.h"
+
+namespace Service::AM {
+
+class IHomeMenuFunctions final : public ServiceFramework<IHomeMenuFunctions> {
+public:
+ explicit IHomeMenuFunctions(Core::System& system_);
+ ~IHomeMenuFunctions() override;
+
+private:
+ void RequestToGetForeground(HLERequestContext& ctx);
+ void GetPopFromGeneralChannelEvent(HLERequestContext& ctx);
+
+ KernelHelpers::ServiceContext service_context;
+
+ Kernel::KEvent* pop_from_general_channel_event;
+};
+
+} // namespace Service::AM